<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="/easyui/themes/icon.css" />
		<link rel="stylesheet" href="/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="/css/public.css" />
		<link rel="stylesheet" href="/css/chongwu/chongwu_category.css" />
		<title>宠物管理-宠物类型列表</title>
		<script type="text/javascript" src="/js/jquery.min.js"></script>
		<script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="/easyui/easyui-lang-zh_CN.js"></script>
	</head>

	<body>
		<form id="search_form">
			<table>
				<tr>
					<td><input id="_type_" /></td>
					<td><input id="_grade_" /></td>

					<td><a id="search">搜索</a></td>
					<td><a id="clear">清空</a></td>
				</tr>
			</table>
		</form>

		<div id="chongwu_dialog" style="display:none;">
			<form id="chongwu_form">
				<input type="hidden" id="id" name="id" />

				<table style="border-spacing:10px;">
					<tr>
						<td>宠物名称</td>
						<td><input id="name" name="name" /></td>

						<td>宠物类型</td>
						<td><input id="type" name="type" /></td>
					</tr>

					<tr>
						<td>参战等级</td>
						<td><input id="grade" name="grade" /></td>

						<td>初始寿命</td>
						<td><input id="lifespan" name="lifespan" /></td>
					</tr>

					<tr>
						<td>内丹数量</td>
						<td><input id="neidanQuantity" name="neidanQuantity" /></td>

						<td>专属内丹</td>
						<td><input id="neidanId" name="neidanId" /></td>
					</tr>

					<tr>
						<td>资质类型</td>
						<td colspan="3">
							<input id="specialType" name="specialType" />
							<a id="tip_specialType"></a>
						</td>
					</tr>
				</table>
			</form>
		</div>

		<div id="upload_dialog" style="display:none;">
			<form id="upload_form">
				<input type="hidden" id="categoryId" name="id" />
				<input type="hidden" id="image" name="image" />

				<table style="border-spacing:5px;">
					<tr>
						<td>图 片</td>
						<td><div id="upload"></div></td>
					</tr>

					<tr>
						<td>图片预览</td>
						<td><img id="img" height="120" /></td>
					</tr>
				</table>
			</form>
		</div>

		<div id="tujian_dialog" style="display: none;">
			<!-- easyui-layout -->
			<div class="easyui-layout" style="width:840px;height:412px;">
				<!-- easyui-layout:west -->
				<div data-options="region:'west',split:false" style="width:200px;">
					<div class="center" style="margin: 5px 5px;">
						<div id="condition"></div>
					</div>

					<table id="chongwu_datalist"></table>
				</div>

				<div data-options="region:'center',split:false">
					<div id="chongwu_name" class="center"></div>

					<div style="width:142px;height:142px;margin:0 auto;">
						<img id="chongwu_image" width="140" />
					</div>

					<div class="center">
						参战等级<span id="chongwu_grade"></span>
					</div><br />
				</div>

				<!-- easyui-layout:center -->
				<div data-options="region:'east',split:false" style="width:426px;">
					<div style="width:424px;height:242px;">
						<div id="tabs" class="easyui-tabs"></div>
					</div>

					<!--初始可能获得技能-->
					<table style="border-spacing: 10px 5px;">
						<thead>&emsp;初始可能获得：</thead>

						<tbody id="chongwu_skills"></tbody>
					</table>
				</div>
			</div>
		</div>

		<div id="zizhi_dialog" style="display: none;">
			<form id="zizhi_form">
				<input type="hidden" id="chongwu_id" name="chongwuId" />

				<div class="center">
					<input id="chongwu_type" name="type" />
				</div>

				<table style="border-spacing: 5px;">
					<tr>
						<td>攻击资质</td>
						<td><input id="gjzz" name="gjzz" /></td>

						<td>防御资质</td>
						<td><input id="fyzz" name="fyzz" /></td>
					</tr>

					<tr>
						<td>体力资质</td>
						<td><input id="tlzz" name="tlzz" /></td>

						<td>法力资质</td>
						<td><input id="flzz" name="flzz" /></td>
					</tr>

					<tr>
						<td>速度资质</td>
						<td><input id="sdzz" name="sdzz" /></td>

						<td>宠物成长</td>
						<td><input id="chengzhang" name="chengzhang" /></td>
					</tr>

					<tr>
						<td>资质名称</td>
						<td><input id="zizhi_name" name="name" /></td>

						<td>特殊资质</td>
						<td><input id="special_type" name="specialType" /></td>
					</tr>

					<tr>
						<td>参战等级</td>
						<td><input id="fight_grade" name="fightGrade" /></td>

						<td>提升次数</td>
						<td><input id="improve_times" name="improveTimes" /></td>
					</tr>

					<tr>
						<td>技能数量</td>
						<td><input id="skill_quantity" name="skillQuantity" /></td>

						<td>内丹数量</td>
						<td><input id="neidan_quantity" name="neidanQuantity" /></td>
					</tr>
				</table>
			</form>
		</div>

		<div id="skill_dialog" style="display:none;">
			<div id="skill_list"></div>
		</div>

		<table id="chongwu_list"></table>

		<script type="text/javascript" src="/js/public.js"></script>
		<script type="text/javascript" src="/js/ajaxUtils.js"></script>
		<script type="text/javascript" src="/js/chongwu/category_list.js"></script>
	</body>
</html>